package one.stand.mapper;

import com.jmp.api.user.dto.CardListResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SeeDetailApiUserMapper {

    int isHaveDefaultCard(@Param("companyKey") String companyKey, @Param("userId") Integer userId);

    /**
     * 用户名片浏览记录
     */
    List<CardListResponse> selectSeeList(@Param("type") Integer type, @Param("companyKey") String companyKey, @Param("userId") Integer userId, @Param("nameLike") String nameLike);

    List<CardListResponse> selectDefault(@Param("companyKey") String companyKey, @Param("nameLike") String nameLike);

    List<String> selectCardPhoto(@Param("cardId") Integer cardId);
}
